@filigran/chatbot 3.11.0 → 3.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -4
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -671,6 +671,7 @@ Every key the package can ask for, grouped by where it appears:
|
|
|
671
671
|
- `'Enter to send now · Esc to stop'`
|
|
672
672
|
- `'Files uploading...'`
|
|
673
673
|
- `'Insert prompt template'`
|
|
674
|
+
- `'Listening...'`
|
|
674
675
|
- `'No prompt matches'`
|
|
675
676
|
- `'Search prompts...'`
|
|
676
677
|
- `'Send now'`
|
|
@@ -836,10 +837,14 @@ the suggestions route is unavailable the host's `promptSuggestions` prop is used
|
|
|
836
837
|
instead, so the section is never empty.
|
|
837
838
|
|
|
838
839
|
Dictation needs no configuration at all: it uses the browser's own Web Speech
|
|
839
|
-
API, so the mic button appears
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
840
|
+
API, so the mic button appears inside the text field, next to Send, wherever
|
|
841
|
+
the API exists and is simply absent elsewhere. It is not a toolbar item, so it
|
|
842
|
+
never adds the toolbar row on its own. While it listens the field turns red and
|
|
843
|
+
reads `Listening...`, finalised phrases are appended to the composer (never
|
|
844
|
+
replacing a draft), interim words preview in the line under it, and every send
|
|
845
|
+
(Enter, Send, Send now) stops the mic and drops the phrase still being
|
|
846
|
+
recognised, so no words can land in a composer the user just emptied. Stopping
|
|
847
|
+
the mic by hand keeps that last phrase.
|
|
843
848
|
|
|
844
849
|
### Context usage
|
|
845
850
|
|